home *** CD-ROM | disk | FTP | other *** search
Makefile | 1996-02-11 | 572 b | 26 lines |
- #This makefile should suffice on most Unix systems. For other systems,
- #you may well need to rewrite it.
- #
- # If you already have gd installed, use the line below and comment out the
- # following line
- # GD = /path/to/gd/directory
- GD = gd1.2
- CC = cc
- CFLAGS = -w -I$(GD) -arch m68k -arch i386 -arch hppa -arch sparc -O2
- LIBS = -L$(GD) -lgd -lm
-
- all: gd fly
-
- gd: $(GD)
- cd $(GD); make
-
- fly.o: fly.c fly.h
- $(CC) -c $(CFLAGS) fly.c
-
- fly: fly.o
- $(CC) $(CFLAGS) -o fly fly.o $(LIBS)
-
- clean:
- rm -f fly.o fly temp.gif core; cd gd1.2; make clean;
-
-